<template>
  <!--获得验证码按钮-->
  <button @click="callback">获取验证码</button>
</template>

<script>
export default {
  name: "SXQ-GetCodeButton",
  props: ['callback']
}
</script>

<style scoped>
button {
  cursor: pointer;
  border-radius: 5px;
  border: 0;
  background: #ff4d00;
  color: white;
  margin-left: 10px;
  width: 120px;
  font-size: 15px;
  height: 40px;
  transition: .8s;
}

button:hover {
  background-color: #2957b9;
}

</style>